<?php

    include_once 'includes/functions.php';




include_once("Benchmark/Timer.php");
$bench = new Benchmark_Timer;




$bench->start();

    $jons_blog = 
        new BlogSyndicate(
                'http://people.tribe.net/kidproto/blog/rss?r=10535',
                BLOG_TYPE_TRIBE,
                $_REQUEST['start_num'] );
    // $jons_blog->fetchFeed();
    $jons_blog->toWeb();

$bench->stop();

// get the profiling information from this timer
echo '<pre>';
print_r($bench->getProfiling());
echo '</pre>';



$bench->start();

    $jons_blog = 
        new BlogSyndicate(
                'http://www.gopetslive.com/php/rss20.php?owner_id=325',
                BLOG_TYPE_GOPETS,
                $_REQUEST['start_num'] );
    // $jons_blog->fetchFeed();
    $jons_blog->toWeb();

$bench->stop();

// get the profiling information from this timer
echo '<pre>';
print_r($bench->getProfiling());
echo '</pre>';





$bench->start();

    $jons_blog = 
        new BlogSyndicate(
                'http://blog.myspace.com/blog/rss.cfm?friendID=10866659',
                BLOG_TYPE_MYSPACE,
                $_REQUEST['start_num'] );
    // $jons_blog->fetchFeed();
    $jons_blog->toWeb();

$bench->stop();

// get the profiling information from this timer
echo '<pre>';
print_r($bench->getProfiling());
echo '</pre>';



$bench->start();

    $jons_blog = 
        new BlogSyndicate(
                'http://blog.myspace.com/blog/rss.cfm?friendID=22137457',
                BLOG_TYPE_MYSPACE,
                $_REQUEST['start_num'] );
    // $jons_blog->fetchFeed();
    $jons_blog->toWeb();

$bench->stop();

// get the profiling information from this timer
echo '<pre>';
print_r($bench->getProfiling());
echo '</pre>';



$bench->start();

    $jons_blog = 
        new BlogSyndicate(
                'http://franichoi.blogs.friendster.com/my_blog/index.rdf',
                BLOG_TYPE_FRIENDSTER,
                $_REQUEST['start_num'] );
    // $jons_blog->fetchFeed();
    $jons_blog->toWeb();

$bench->stop();

// get the profiling information from this timer
echo '<pre>';
print_r($bench->getProfiling());
echo '</pre>';



$bench->start();


    $jons_blog = 
        new BlogSyndicate('http://rejon.org/wordpress/wp-feed.php?feed=rss2',
                          BLOG_TYPE_WORDPRESS,
                          $_REQUEST['start_num'] );
    // $jons_blog->fetchFeed();
    $jons_blog->toWeb();

$bench->stop();

// get the profiling information from this timer
echo '<pre>';
print_r($bench->getProfiling());
echo '</pre>';




$bench->start();

// multiply feed
// 

    $jons_blog = 
        new BlogSyndicate('http://rejon.multiply.com/feed.rss',
                          BLOG_TYPE_MULTIPLY,
                          $_REQUEST['start_num'] );
    // $jons_blog->fetchFeed();
    $jons_blog->toWeb();


$bench->stop();

// get the profiling information from this timer
echo '<pre>';
print_r($bench->getProfiling());
echo '</pre>';


$bench->start();

// multiply feed
// 

    $jons_blog = 
        new BlogSyndicate('http://www.livejournal.com/users/rejon/data/rss',
                          BLOG_TYPE_LIVEJOURNAL,
                          $_REQUEST['start_num'] );
    // $jons_blog->fetchFeed();
    $jons_blog->toWeb();


$bench->stop();

// get the profiling information from this timer
echo '<pre>';
print_r($bench->getProfiling());
echo '</pre>';


?>